Introduction to the Object Dictionary editor
With this editor you can describe the object dictionary of your new CANopen device. The Object Dictionary tree is generated on the left side. You can choose any object from there. In the right window there will appear a user inderface to the object data. For different type of objects, different user interfaces are shown. There you can edit all properties of the object. A button with the
icon inside means, that you can edit the label of that object. Label includes Name, Description and URI for each language. There can be more languages simultaneously.
After all objects are properly configured, Click the button 'Generate all output files'. The following files will be generated in a separate window:
- CANopen Device description file - this is the internal file format (XML) used by this editor. Save it for later use.
- CO_OD.c/h file - Definition of Object Dictionary - used by CANopen application stack.
- EDS specification file - Electronic Data Sheet for CANopen device - CiA DS-306.
- XML specification file - Electronic Data Sheet in XML format - CiA DS-311.
- Documentation - CANopen device documentation.
The CANopen Device description file is the main file, which contains all the information. All other files are extracted from it.
The file contains three parts and those are also displayed in the left window:
- Features - Features must be edited, before Objects. For example, if you change the number of RPDO, corresponding objects (0x1400+ and 0x1600+) will be added or removed automatically.
- Objects - Objects from Device Object Dictionary. If '
' is in the front of the index, it means that Object is disabled and won't be included in output files. However, CANopen Device description file will contain those objects too. That makes creation of new objects easier.
- Other - Other information about the device.
The C-sources (CO_OD.c, CO_OD.h) define the object dictionary and features used by the canopen application stack. Include those files in your embedded application.